<h1>Map</h1>

<% if @flash[:message] %><div id="message"><%= @flash[:message] %></div><% end %>
<% if @flash[:error] %><div id="error"><%= @flash[:error] %></div><% end %>

<div id="map">
	<div id="player">
		<div id="guy">&nbsp;</div>
		<div id="stats">
			<strong>Name:</strong> <%= Player.find(session[:id]).playername %><br>
			<strong>xpos:</strong> <%= Player.find(session[:id]).xpos %><br>
			<strong>ypos:</strong> <%= Player.find(session[:id]).ypos %>
		</div>
	</div>
</div>

<div class="nav"><%= link_to "Up", :action => "up" %></div>
<div class="nav"><div class="navLeft"><%= link_to "Left", :action => "left" %></div> + <div class="navRight"><%= link_to "Right", :action => "right" %></div></div>
<div class="nav"><%= link_to "Down", :action => "down" %></div>